from django.db import models

# Create your models here.
class OrderDetail(models.Model):
    id = models.AutoField(primary_key=True)
    order_id = models.CharField(max_length=10)
    goods_id = models.CharField(max_length=10)
    amount = models.IntegerField()
    pay_price = models.DecimalField(max_digits=10,decimal_places=5)
    class Meta:
        db_table = 'order_detail'